package com.czmh.etc.interpreter.entity.response;

import com.czmh.etc.interpreter.entity.base.EnMessagetype;
import com.czmh.etc.interpreter.entity.base.ResponseBody;

/**
 * Created by Huangyk on 2019/6/5.
 */
public class LoadResponse extends ResponseBody {
    public static int MSG_LEN = ResponseBody.BODY_LEN + 93;

    /// <summary>
    /// 卡号
    /// </summary>
    public String CardID;
    /// <summary>
    /// 操作类型,1	1：充值；2：冲正；3补卡充值
    /// </summary>
    public byte OptType;
    /// <summary>
    /// 充值\冲正金额
    /// </summary>
    public long StoreMoney;
    /// <summary>
    /// 回退金额,收费车道多扣，需要回退的金额
    /// </summary>
    public long ReturnMoney;
    /// <summary>
    /// 卡内余额
    /// </summary>
    public long Balance;
    /// <summary>
    /// 联机序列号
    /// </summary>
    public String OnlineSN;
    /// <summary>
    /// 脱机序列号
    /// </summary>
    public String OfflineSN;
    /// <summary>
    /// 业务时间
    /// </summary>
    public String StoreTime;
    /// <summary>
    /// 通过加密机计算的密钥
    /// </summary>
    public String Mac2;
    
    public LoadResponse() {
        super(EnMessagetype.LoadResponse);
    }

    //region getter && setter
    public String getCardID() {
        return CardID;
    }

    public void setCardID(String cardID) {
        CardID = cardID;
    }

    public byte getOptType() {
        return OptType;
    }

    public void setOptType(byte optType) {
        OptType = optType;
    }

    public long getStoreMoney() {
        return StoreMoney;
    }

    public void setStoreMoney(long storeMoney) {
        StoreMoney = storeMoney;
    }

    public long getReturnMoney() {
        return ReturnMoney;
    }

    public void setReturnMoney(long returnMoney) {
        ReturnMoney = returnMoney;
    }

    public long getBalance() {
        return Balance;
    }

    public void setBalance(long balance) {
        Balance = balance;
    }

    public String getOnlineSN() {
        return OnlineSN;
    }

    public void setOnlineSN(String onlineSN) {
        OnlineSN = onlineSN;
    }

    public String getOfflineSN() {
        return OfflineSN;
    }

    public void setOfflineSN(String offlineSN) {
        OfflineSN = offlineSN;
    }

    public String getStoreTime() {
        return StoreTime;
    }

    public void setStoreTime(String storeTime) {
        StoreTime = storeTime;
    }

    public String getMac2() {
        return Mac2;
    }

    public void setMac2(String mac2) {
        Mac2 = mac2;
    }
    //endregion
}
